package com.zy.baselib.adapter

import android.view.View
import androidx.databinding.DataBindingUtil
import androidx.recyclerview.widget.RecyclerView
import androidx.viewbinding.ViewBinding

open class ViewHolder(view: View): RecyclerView.ViewHolder(view)


class CommonViewHolder<VB: ViewBinding>(view: View): ViewHolder(view) {
    val viewBinding: VB by lazy { DataBindingUtil.bind(view)!! }
}